home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
dev
/
c
/
CInt_0_81.readme
< prev
next >
Wrap
Text File
|
1995-07-02
|
5KB
|
111 lines
Short: 90% complete ANSI-C interpreter
Author: Aaron "Optimizer" Digulla <digulla@fh-konstanz.de>
Uploader: Aaron "Optimizer" Digulla <digulla@fh-konstanz.de>
Type: dev/c
This is version 0.81 of a ANSI-C interpreter written by me for
my master thesis. It has the following features:
- Source is compiled into a BOOPSI-object which reacts on
CIM_Execute
- Supports ALL C operators
- Supports all major C datatypes (int, double, char) plus some
that are missing in C (bool and string) plus pointers,
arrays, structs and unions.
- All major control structures: if...else, while, do...while,
for and return
- User-defined functions (both compiled and interpreted)
- Local Variables and infinite nesting
This is missing for the last 10%:
- typedef
- switch...case...default
- break, continue and goto
Extensions to C:
- bool and string datatype (with support for all C operators)
- C++-Comments (//)
- Memoryprotection
- Checks Array-bounds, if possible (ie. int a=5; int b[a];
b[5] = 0; yields an error, while int b[]; b[5] = 0;
does not).
- Supports "begin" and "end" for all those PASCAL-users :)
- The constants TRUE and FALSE since there is no C-preprocessor
yet.
Just check it out, some 20 demos are included and a sample-program
to run them.
System requirements:
Should run on any 2.+ system (I compiled it under 3.1, so I don't
know :-)). No special CPU or FPU required (but fast is better, as usual).
Memory: well, some but 1Meg should be enough.
Installation:
copy libs/cint.library libs:
If you want to compile the example, there is no need to copy the includes
over your include-files; the SCOPTIONS-file searches the files in this
directory.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
1233 591 52.0% 29-May-95 20:06:56 cint-0.81.info
14824 9388 36.6% 30-May-95 19:35:40 +ci_test
6494 2108 67.5% 29-May-95 21:33:52 +ci_test.c
1743 963 44.7% 31-May-95 22:04:22 +CInt-0.81.readme
10007 4173 58.2% 31-May-95 22:02:54 +CInt.doc
434 225 48.1% 29-May-95 20:10:38 +CInt.doc.info
1676 594 64.5% 29-May-95 21:34:18 +cint_protos.h
1195 358 70.0% 03-Feb-95 18:15:30 +inlib_protos.h
441 247 43.9% 28-May-95 22:21:58 +cint_lib.fd
9444 2659 71.8% 31-May-95 22:00:52 +in_stddef.h
5689 1990 65.0% 28-May-95 22:21:58 +cint.h
1588 404 74.5% 03-Feb-95 18:15:30 +lists.h
1178 344 70.7% 03-Feb-95 18:15:30 +amiga.h
1040 285 72.5% 03-Feb-95 18:15:30 +hpux.h
3521 818 76.7% 03-Feb-95 18:15:30 +sun.h
744 242 67.4% 29-May-95 21:23:18 +cint.h
295 179 39.3% 28-May-95 22:22:00 +cint.h
200 113 43.5% 19-Feb-95 10:58:38 +return.h
966 305 68.4% 03-Feb-95 18:15:30 +tagbase.h
4166 1545 62.9% 03-Feb-95 18:15:30 +unix.h
81264 43910 45.9% 31-May-95 20:50:44 +cint.library
160 117 26.8% 31-May-95 21:56:46 +SCOPTIONS
137 91 33.5% 28-May-95 22:22:20 +tarray.c
201 127 36.8% 28-May-95 22:22:20 +tarray2.c
436 218 50.0% 28-May-95 22:22:22 +tbool.c
832 240 71.1% 28-May-95 22:22:22 +tcast.c
545 136 75.0% 28-May-95 22:22:22 +tdouble.c
242 72 70.2% 28-May-95 22:22:22 +tdouble2.c
141 120 14.8% 28-May-95 22:22:22 +terror1.c
30 30 0.0% 28-May-95 22:22:22 +tfloat.c
178 102 42.6% 28-May-95 22:22:22 +tfor.c
226 124 45.1% 28-May-95 22:22:24 +tfunc.c
158 104 34.1% 28-May-95 22:22:24 +tfunc2.c
196 120 38.7% 28-May-95 22:22:24 +tfunc3.c
257 149 42.0% 28-May-95 22:22:24 +tfunc4.c
162 90 44.4% 31-May-95 21:42:46 +tglobal.c
184 87 52.7% 28-May-95 22:22:24 +tinc.c
56 55 1.7% 28-May-95 22:22:24 +tinit.c
204 164 19.6% 28-May-95 22:22:24 +tlv.c
1965 442 77.5% 28-May-95 22:22:26 +top.c
378 164 56.6% 28-May-95 22:22:26 +top2.c
280 153 45.3% 28-May-95 22:22:26 +tptr.c
79 75 5.0% 28-May-95 22:22:26 +trand.c
510 147 71.1% 28-May-95 22:22:26 +tsizeof.c
138 94 31.8% 28-May-95 22:22:26 +tstring.c
618 244 60.5% 28-May-95 22:22:26 +tstruct.c
814 358 56.0% 28-May-95 22:22:26 +ttime.c
113 62 45.1% 28-May-95 22:22:28 +tunop.c
83 76 8.4% 28-May-95 22:22:28 +tuser.c
-------- ------- ----- --------- --------
157465 75402 52.1% 03-Jun-95 10:56:58 49 files